<script>
    $(function() {
        $("a").button();
        $("a").click(function() { return true; });
    });
</script>
<div style="width: 100%;height: 100%;background-color: #222222" align="center">
<div style="width: 80%;height: 100%;background-color:#eeeeee" align="center" class="ui-widget ui-corner-all">
<div style="width: 100%;padding: 10px" align="left"><a href="<?php echo url::base()?>/admin/ipcamera">กลับ</a></div>
    <br>
<form method="post" action="<?php URL::base()?>ipcamera_add" target="">
        <table width="500" class="ui-widget ui-widget-content ui-corner-all" >
            <thead><tr class="ui-widget-header"><td colspan="5">เพิ่มกล้อง IP Camera</td></tr></thead>
            <tbody align="left">
                <tr><td valign="top" style="padding-left: 10px">ชื่อ</td><td><input name="pp_name" type="text"> </td></tr>
                <tr><td valign="top" style="padding-left: 10px">IP Address</td><td><input type="text" id="pp_url" name="pp_url"> </td></tr>
                <tr><td valign="top" style="padding-left: 10px">Username</td><td><input type="text" id="pp_username" name="pp_username"> </td></tr>
                <tr><td valign="top" style="padding-left: 10px">Password</td><td><input type="text" id="pp_password" name="pp_password"> </td></tr>
                <tr><td valign="top" style="padding-left: 10px">รายละเอียด</td><td><textarea rows="3" cols="20" id="pp_description" name="pp_description"></textarea> </td></tr>
                <tr><td align="center" colspan="2"><input class="ui-button ui-widget ui-state-default ui-corner-all" type="submit" value="ยืนยัน">
                        
                    </td>
                </tr>
            </tbody>
        </table>       
        <input type="hidden" value="add" name="method">
    </form>
</div></div>
